package de.justphil.tcg.tcgserver.commons.domain.wrappers;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
@XmlAccessorType(XmlAccessType.NONE)
public class ShallowCard {
	
	@XmlElement
	private String name;
	
	@XmlElement
	private int l;
	
	@XmlElement
	private int at;
	
	@XmlElement
	private int d;
	
	@XmlElement
	private int ag;
	
	@XmlElement
	private long[] pIds;

	
	
	
	public ShallowCard() {
		// JAXB conformity
	}
	
	public ShallowCard(String name, int l, int at, int d, int ag, long[] pIds) {
		super();
		this.name = name;
		this.l = l;
		this.at = at;
		this.d = d;
		this.ag = ag;
		this.pIds = pIds;
	}

	public String getName() {
		return name;
	}

	public int getLife() {
		return l;
	}

	public int getAttack() {
		return at;
	}

	public int getDefense() {
		return d;
	}

	public int getAgility() {
		return ag;
	}

	public long[] getPropertyIds() {
		return pIds;
	}
	
	
	
	

}
